<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
      <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>

<body>

	<form action="/food/taste/updateprocess" method="get" name="join">
		<table>
			<tr>
				<td>아이디</td><td><input type="text" name="food_id" value="${info.getFood_id()}"></td>
			</tr>
			<tr>
				<td>패스워드</td><td><input type="password" name="food_pw" value="${info.getFood_pw()}"></td>
			</tr>
			<tr>
				<td>이름</td><td><input type="text" name="food_name" value="${info.getFood_name()}"></td>
			</tr>
			<tr>
				<td>지역</td><td><input type="text" name="food_area1" value="${info.getFood_area1()}"></td>
			</tr>
			<tr>
				<td>동</td><td><input type="text" name="food_area2" value="${info.getFood_area2()}"></td>
			</tr>
			<tr>
				<td>주소</td><td><input type="text" name="food_addr" value="${info.getFood_addr()}"></td>
			</tr>
			<tr>
				<td>카테고리1</td><td><select name="food_category" size="1">
					<option value="korea" selected="selected">한식</option>
					<option value="china">중식</option>
					<option value="western">양식</option>
					<option value="japan">일식</option>
					<option value="japan">기타</option>
				</select></td>
			</tr>
			<tr>
				<td>전화번호</td><td><input type="text" name="food_tel" value="${info.getFood_tel()}"></td>
			</tr>
			<tr>
				<td>영업시간</td><td><input type="text" name="food_time" value="${info.getFood_time()}"></td>
			</tr>
			<tr>
				<td>평균가격(2인)</td><td><input type="text" name="food_price" value="${info.getFood_price()}"></td>
			</tr>
			<tr>
				<td>주차</td><td><input type="text" name="food_park" value="${info.getFood_park()}"></td>
			</tr>
			<tr>
				<td>휴일</td><td><input type="text" name="food_holiday" value="${info.getFood_holiday()}"></td>
			</tr>
			<tr>
				<td>상세설명</td><td><input type="text" name="food_explanation" value="${info.getFood_explanation()}"></td>
			</tr>
			<tr>
				<td>상세 이미지</td><td><input type="file" name="food_image" value="${info.getFood_image()}"></td>
			</tr>
			<tr>
				<td>지도</td><td><input type="file" name="food_map" value="${info.getFood_map()}"></td>
			</tr>
		</table>
		<table>
		<tr><td><input type="submit" value="수정완료"></td>
		<td><input type="button" value="메인으로이동" onclick="location.href='/food/main'"></td>
		<td><input type="button" value="회원탈퇴" onclick="location.href='delete'"></td>
		</tr>
		
		</table>
	</form>
</body>
</html>